package com.accompany.service;

import com.accompany.entity.Master;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 大神表 服务类
 * </p>
 *
 * @author DC
 * @since 2024-12-26
 */
public interface MasterService extends IService<Master> {

    Page<Master> getPaginatedMasters(Integer page, Integer size);

    List<Master> getAllMasters();

    Master getMasterById(Long id);

    void updateMaster(Master master);

    void deleteMaster(Long id);

    void createMaster(Master master);
}
